package cz.spock.core.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * demo version of person class
 * 
 * @author miso
 *
 */
@Entity
public class Person {
    
    @Id
    private Long id;
    private String name;
    private String surname;
    private Date birthday;
    private String gender;
    //address
    //contacts
    //other info
    
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getSurname() {
        return surname;
    }
    public void setSurname(String surname) {
        this.surname = surname;
    }
    public Date getBirthday() {
        return birthday;
    }
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
    public String getGender() {
        return gender;
    }
    public void setGender(String gender) {
        this.gender = gender;
    }  
    

}
